home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8290 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news.aimnet.com!news
  2. From: jdj@foolproof.com (Smothra)
  3. Newsgroups: comp.lang.c
  4. Subject: Basic I/O help, please
  5. Date: Wed, 28 Feb 1996 00:12:23 GMT
  6. Organization: FoolProof Labs
  7. Message-ID: <4h06lg$b9j@news.aimnet.com>
  8. NNTP-Posting-Host: dial-sf2-11.iway.aimnet.com
  9. X-Newsreader: Forte Free Agent 1.0.82
  10.  
  11. I'm having a little trouble with the mixing and matching of various
  12. standard library I/O functions.  In general, the mixture of scanf(),
  13. getc() and getch() seem to do me in after a number of function calls.
  14. Without responding to the specifics (which I won't post unless someone
  15. offers to read 'em over in which case I'll eMail ya), can anyone tell
  16. me if there are some genral rules about how to mix and match I/O
  17. functions (particularly the I's).  Are there any standard pitfalls of
  18. which I should be aware?  The problem seems to be related to
  19. encountering an EOF that is at the end of a non-blank line.
  20.  
  21. TIA.
  22.  
  23.  
  24. Smothra (jdj@foolproof.com)
  25. FoolProof Labs  --  San Francisco, CA
  26.     "And you take the model that what a waste it is to lose one's mind, or
  27. not have a mind as being very wasteful.  How true that is."
  28.  
  29.